package com.xhx.stream.config;

import java.util.function.Function;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MessageConfig {

	@Bean
	Function<String, String> transform() {
		return String::toUpperCase;
	}

}
